package com.lucky.common.init;

import com.lucky.common.cache.AreaCache;
import com.lucky.common.cache.DictCache;
import com.lucky.common.enums.DictEnum;
import com.lucky.common.pojo.vo.AreaVO;
import com.lucky.common.service.AreaService;
import com.lucky.common.util.JsonUtil;
import com.lucky.common.util.TreeUtil;
import javax.annotation.Resource;
import javax.servlet.ServletContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

import java.util.stream.Collectors;

@Component
public class InitDict implements ApplicationRunner {
	
	private static final Logger logger = LoggerFactory.getLogger(InitDict.class);

    @Resource
    ServletContext application;

    @Override
    public void run(ApplicationArguments args) throws Exception {

    	try {

		} catch (Exception e) {
			logger.error("init InitDict cache error!",e);
		}
        
    }

    
}
